package com.k.liuzh.extraffic.Database;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable(tableName = "Environment")
public class EnvironmentBean {
    @DatabaseField(columnName = "id",generatedId = true,useGetSet = true)
    private int id;
    @DatabaseField(columnName = "temp",useGetSet = true)
    private int temp;
    @DatabaseField(columnName = "humid",useGetSet = true)
    private int humid;
    @DatabaseField(columnName = "sun",useGetSet = true)
    private int sun;
    @DatabaseField(columnName = "sun",useGetSet = true)
    private int cq2;
    @DatabaseField(columnName = "pm25",useGetSet = true)
    private int pm25;
    @DatabaseField(columnName = "roadRes",useGetSet = true)
    private int roadRes;

    public EnvironmentBean(){

    }

    public EnvironmentBean(int temp, int humid, int sun, int cq2, int pm25, int roadRes) {
        this.temp = temp;
        this.humid = humid;
        this.sun = sun;
        this.cq2 = cq2;
        this.pm25 = pm25;
        this.roadRes = roadRes;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getTemp() {
        return temp;
    }

    public void setTemp(int temp) {
        this.temp = temp;
    }

    public int getHumid() {
        return humid;
    }

    public void setHumid(int humid) {
        this.humid = humid;
    }

    public int getSun() {
        return sun;
    }

    public void setSun(int sun) {
        this.sun = sun;
    }

    public int getCq2() {
        return cq2;
    }

    public void setCq2(int cq2) {
        this.cq2 = cq2;
    }

    public int getPm25() {
        return pm25;
    }

    public void setPm25(int pm25) {
        this.pm25 = pm25;
    }

    public int getRoadRes() {
        return roadRes;
    }

    public void setRoadRes(int roadRes) {
        this.roadRes = roadRes;
    }
}
